/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2022-11-23 16:30:56
 * @LastEditors: Andy
 * @LastEditTime: 2023-01-30 09:33:59
 */
import { defineStore as useStore } from 'pinia'
import pinia from '@/common/pinia'

/** 二次改造 defineStore */
export const defineStore = (...args) => {
  const store = useStore(...args)
  return (p = pinia) => store(p)
}
